package cn.dakaqi.entities;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created by chunyang on 2016/4/19.
 */
@Entity
@Table(name = "U_PINGAN_VOUCHER_CENTER")
public class PinganVoucherCenter extends IdEntity
{
    private String cardNum;//
    private int status;//'0 未充值 1已充值',
    private Date createTime;//'创建时间',
    private Float money;//'充值金额',
    private Date moneyTime;//'充值日期',

    public PinganVoucherCenter()
    {
    }

    public PinganVoucherCenter(String cardNum)
    {
        this.cardNum = cardNum;
        this.status = 0;
        this.createTime = new Date();
        this.money = 0.00f;
    }

    public String getCardNum()
    {
        return cardNum;
    }

    public void setCardNum(String cardNum)
    {
        this.cardNum = cardNum;
    }

    public int getStatus()
    {
        return status;
    }

    public void setStatus(int status)
    {
        this.status = status;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    public Float getMoney()
    {
        return money;
    }

    public void setMoney(Float money)
    {
        this.money = money;
    }

    public Date getMoneyTime()
    {
        return moneyTime;
    }

    public void setMoneyTime(Date moneyTime)
    {
        this.moneyTime = moneyTime;
    }
}
